/*
 * private.h
 *
 *  Created on: Sep 11, 2016
 *      Author: ubuntu
 */

#ifndef PRIVATE_H_
#define PRIVATE_H_

#ifdef __cplusplus
extern "C" {
#endif

#define NEVENTS     32
#define MAX_EVENTS  32000

#define MIN_MALLOC_SIZE		1024
#define MAX_MALLOC_SIZE		4096
#define ADD_HEAD	20
#define ADD_TAIL	20

#define SV_CMD		1 	// 命令服务器
#define SV_N900		2	// 朗仁服务器
#define SV_GOLO		3	// golo 3G
#define SV_G2O		4	// golo 2G

static const unsigned char DM_TAG_HEAD[5] = { 'H', 'E', 'A', 'D' };
#define DM_TAG_HEAD_LEN	4

#ifdef __cplusplus
}
#endif

#endif /* PRIVATE_H_ */
